package jco3.core;

import com.sap.conn.jco.JCoDestination;
import com.sap.conn.jco.JCoException;
import com.sap.conn.jco.JCoRepository;

public class SapTools {

	public void getRFCList() {
		String poolName = "PRD";
		JCoDestination destination =  SapJcoStore.getDestination(poolName);
		try {
			JCoRepository myRepository = destination.getRepository();
			myRepository.getCachedFunctionTemplateNames();
		} catch (JCoException e) {
			e.printStackTrace();
		}
	}
}
